package org.csc.admin;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.netflix.feign.EnableFeignClients;
import org.springframework.cloud.netflix.zuul.EnableZuulProxy;

@EnableDiscoveryClient
@SpringBootApplication
@EnableFeignClients
@EnableZuulProxy
//@EnableHystrixDashboard
public class AdminAppplication {

    private static final Logger log = LoggerFactory.getLogger(AdminAppplication.class);



    public static void main(String[] args) {
        SpringApplication.run(AdminAppplication.class, args);
        log.info("【admin项目启动成功......】");
    }

//    @Bean
//    public AccessFilter accessFilter() {
//        return new AccessFilter();
//    }

}
